<%@page import="com.web.vo.ResumeVo"%>
<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>

<html>
	<head>
		<title>猎头简历寻访</title>
	</head>
	<body>
		<center>

			<html:form action="/queryBasicResume">
				<table>
					<tr>
						<td>
							关键字:
						</td>
						<td>
							<html:text property="fullKey" />
							<html:errors property="fullKey" />

						</td>
						<td>
							公司:
						</td>
						<td>
							<html:text property="company" />
							<html:errors property="company" />
							<br />
						</td>
					</tr>
					<tr>
						<td>
							行业：
						</td>
						<td>
							<html:text property="industryName" />
							<html:errors property="industryName" />
						</td>
						<td>
							地点：
						</td>
						<td>
							<html:text property="address" />
							<html:errors property="address" />
						</td>
					</tr>

					<tr>
						<td>
							待遇：
						</td>
						<td>
							<html:text property="currentSalary" />
							<html:errors property="currentSalary" />
						</td>
						<td>
							职位：
						</td>
						<td>
							<html:text property="positionName" />
							<html:errors property="positionName" />
						</td>
					</tr>
					<tr>
						<td>
							教育情况：
						</td>
						<td>
							<html:text property="edu" />
							<html:errors property="edu" />
						</td>
						<td>
							工作年份：
						</td>
						<td>
							<html:text property="experienceTimeVal" />
							<html:errors property="experienceTimeVal" />
						</td>

					</tr>
				</table>

				<a href="updateResume.do?action=addBefore" target="_blank"> <strong
					style="background-color: rgb(192, 192, 192);"><font
						color="#800040">添加新简历</font> </strong>
				</a>
				<strong style="background-color: rgb(192, 192, 192);"> </strong>&nbsp;&nbsp;
			 <html:submit value="检索" />联系方式过滤[<html:checkbox
					property="telContact">电话不为空</html:checkbox>
				<html:checkbox property="emailContact">邮箱不为空</html:checkbox>
				<html:checkbox property="imContact">IM不为空</html:checkbox>]
				<table border="0" width="1024"
					style="background-color: rgb(64, 128, 128);">
					<tbody border="1">
						<tr bgcolor="#cfcfcf">
							<th>
								ID
							</th>
							<th>
								薪资
							</th>
							<th>
								行业
							</th>
							<th>
								职位
							</th>
							<th>
								工作地
							</th>
							<th>
								学历
							</th>
							<th>
								工作年限
							</th>
							<th>
								擅长，业绩
							</th>
							<th>
								更新时间
							</th>
							<th>
								求职意向
							</th>
							<th>
								寻访记录
							</th>
							<th>
								简历 操作
							</th>
						</tr>
						<%
							java.util.List<ResumeVo> dataList = new java.util.ArrayList();
								try {
									dataList = (java.util.List) request
											.getAttribute("datalist");
								} catch (Exception e) {
									e.printStackTrace();
								}
								String color = "#cfcfcf";
								for (ResumeVo resumeVo : dataList) {
									if (resumeVo == null)
										continue;
									int i = 0;

									if (i > 0) {
										color = "#cfcfcf";
									} else {
										color = "#fffff";
									}
						%>
						<tr bgcolor="<%=color%>">
						<td><%=resumeVo.getResumeId()%></td>
							<td><%=resumeVo.getCurrentSalary()%></td>
							<td><%=resumeVo.getIndustryName()%></td>
							<td><%=resumeVo.getPositionName()%></td>
							<td><%=resumeVo.getAddress()%></td>
							<td><%=resumeVo.getEdu()%></td>
							<td><%=resumeVo.getExperienceTimeVal()%></td>
							<td><%=resumeVo.getSearchResult()%></td>
							<td><%=resumeVo.getLastEditTime()%></td>
							<td><%=resumeVo.getJobInterest()%></td>
							<td><%=resumeVo.getCallRemark()%></td>
							<td>
								<a
									href="previewResume.do?id=<%out.print(resumeVo.getResumeId());%>"
									target="_blank"> 下载  </a>
								 <a
									href="updateResume.do?action=editBefore&id=<%out.print(resumeVo.getResumeId());%>"
									target="_blank">修改简历 </a>
								<a
									href="upload/uploadFile.jsp?resumeid=<%out.print(resumeVo.getResumeId());%>"
									target="_blank"> 上传简历 </a>
							</td>
						</tr>
						<%
							}
						%>
					</tbody>
				</table>
			</html:form>

		</center>
	</body>
</html>

